package com.project.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDate;
@Data
@TableName("addMoneyRecord")
public class   AddMoney {
      @TableId(value = "id",type = IdType.AUTO)
      private Long id;
      @TableField("userNum")
      private Long userNum;
      @TableField("addMoney")
      private Double money;
      @TableField("addDate")
      private LocalDate data=LocalDate.now();
}
